
import javax.swing.JApplet;
import javax.swing.JFrame;

/*
 * This class displays the lesson in a puzzle learning style.
 * It holds the puzzle applet and creates a jframe for it.
 */

/**
 *
 * @author link3988
 */
public class PuzzleLesson {

    public PuzzleLesson()
    {
                JApplet p = new PuzzleApplet();
                p.init();
                p.start();
                JFrame window = new JFrame("Puzzle Display");
                window.setContentPane(p);
                window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                window.pack();
                window.setVisible(true);
    }

}
